﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mangox.Model.MangoxDB
{
    /// <summary>
    /// 用户登陆/查询用户返回字段
    /// </summary>
    public class M_UserResult
    {
        public Nullable<int> UserID { get; set; }
        public string LoginName { get; set; }
        public string UserName { get; set; }
        public string MgxHashID { get; set; }
        public string ERCAddress { get; set; }
        public Nullable<int> State { get; set; }
        public string Mobile { get; set; }
        public string Email { get; set; }
        public string NickName { get; set; }
        public string AvatarUrl { get; set; }
        public string Gender { get; set; }
        public string City { get; set; }
        public string Province { get; set; }
        public string Country { get; set; }
        public string Language { get; set; }
        public Nullable<System.DateTime> CreateTime { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public string Token { get; set; }

        public string CreateTimeStr { get; set; }
    }
}
